
#define DEFAULT_STATEMENT_CACHE_SIZE 50		//default statement cache size for all sessions created from session pool
#define DEFAULT_FETCH_CACHE_SIZE 1000		//default fetch cache size for all recordset
#define CONNECTION_POOLSIZE_MIN 2			//minimal sessions in session pool
#define CONNECTION_POOLSIZE_MAX 200			//maximum sessions in session pool
#define CONNECTION_POOLSIZE_INCREMENTAL 5	//the number to increment session pool by


#define EXECUTION_MODE_BATCH_ERRORS OCI_BATCH_ERRORS
#define EXECUTION_MODE_COMMIT_ON_SUCCESS OCI_COMMIT_ON_SUCCESS
#define EXECUTION_MODE_DEFAULT OCI_DEFAULT
#define EXECUTION_MODE_DESCRIBE_ONLY OCI_DESCRIBE_ONLY
#define EXECUTION_MODE_SCROLLABLE_READONLY OCI_STMT_SCROLLABLE_READONLY


//Return codes used in FMSQL internal.
#define FMSQL_OK						0
#define FMSQL_FAILED					1
#define FMSQL_EOF						2
#define FMSQL_BOF						3
#define FMSQL_INVALID_DB_ADDR			4
#define FMSQL_FIELD_NOT_FOUND			5
#define FMSQL_DUPLICATE_KEY				6
#define FMSQL_KEY_IS_NULL				-901

//
#define FMSQL_DATALOAD_SUCCESS                              0
#define FMSQL_DATALOAD_SUCCESS_WITH_BLANK_RECORD            1
#define FMSQL_DATALOAD_SUCCESS_WITH_BAD_RECORD              2

#define FMSQL_DATALOAD_FAILED			                    -1

#define FMSQL_DATALOAD_FAILED_SQLLDR_CAN_NOT_WORK           1
#define FMSQL_DATALOAD_FAILED_COMPONENT_NOT_FOUND           4
#define FMSQL_DATALOAD_FAILED_FILE_NOT_EXIST                5
#define FMSQL_DATALOAD_UNDEFINED_CODE	                    -10000